package com.shujia.day15.homework;

import java.util.Map;

public class StudentEntry {
    private Map.Entry<Integer, Student> entry;

    public StudentEntry() {
    }

    public StudentEntry(Map.Entry<Integer, Student> entry) {
        this.entry = entry;
    }

    public Map.Entry<Integer, Student> getEntry() {
        return entry;
    }

    public void setEntry(Map.Entry<Integer, Student> entry) {
        this.entry = entry;
    }

    @Override
    public String toString() {
        return "StudentEntry{" +
                "entry=" + entry +
                '}';
    }
}
